//============================================================================
// Name        : CppDemo.cpp
// Author      : jiangsheng
// Version     :
// Copyright   : cpsoft
// Description : Hello World in C++, Ansi-style
//============================================================================

#include <iostream>
#include "Human.h"
#include "MyString.h"
using namespace cpsoft;
using namespace std;

void useMyString(MyString myString){
	cout <<" mystring  is== "<<myString.getString()<<" ==and  length is  =="<<myString.getLength()<<endl;
}

int main() {
	Human *mHuman = new Human("lisi",26);
	mHuman->introduceSelf();

	MyString mystring("this is a string");

	useMyString(mystring);

	return 0;
}
